home *** CD-ROM | disk | FTP | other *** search
/ ETO Development Tools 1 / ETO Development Tools 1.iso / Essentials / MacApp Documentation / MacApp AppleLink Messages / MacApp.Tech$ Jul 89 / W0033-Method Not found-Jul89 < prev    next >
Encoding:
Text File  |  1989-07-12  |  1.2 KB  |  43 lines  |  [TEXT/GEOL]

  1. Item    4875290                         9-July-89        20:48
  2.  
  3. From:   D2215                           Dac SW, Wilma Blair, PRT
  4.  
  5. To:     MACAPP.TECH$                    MACAPP Tech
  6.  
  7. cc:     MACDTS                          Macintosh Developer Technical Supt.
  8.  
  9. Sub:    Method Not found
  10.  
  11. Strange problem:
  12.  
  13. Inside of IMyApplication, I call the init routines for several units.  For one
  14. unit, calling the procedure
  15.  
  16. PROCEDURE InitUHelp; {note, not a method of an object}
  17. BEGIN
  18.     {$Ifc qDebug} Writeln ('InitUhelp'); {$Endc}
  19. END;
  20.  
  21. causes:
  22.  
  23. ProgramBreak: Method not found
  24. stopped at Break OBJFAIL Seg#: 1
  25.  
  26. Sometimes the message is different and mentions an odd handle but it always
  27. crashes in the same spot.
  28.  
  29. From my writeln's, I can see that the procedure is entered, but it never gets
  30. back to the IApplication procedure that calls it.
  31.  
  32. If I comment this call out in IMyAppliation and perform my init when the views
  33. are created, all goes well.
  34.  
  35. In a much smaller test program, I can use the unit and call IHelpInit and all
  36. goes well, but it crashes in my full size program every time.
  37.  
  38. I have 20K of free stack and I have no clue as to what is happening!
  39.  
  40. Regards, Les Caudle
  41.  
  42.  
  43.